import request from '@/utils/request'

// 分页查询登录日志
export function listForPage(query) {
  return request({
    url: '/system/loginInfo/listForPage',
    method: 'get',
    data: query
  })
}
// 根据id删除登录日志信息
export function deleteLoginInfoByIds(infoIds) {
  return request({
    url: '/system/loginInfo/deleteLoginInfoByIds/' + infoIds,
    method: 'delete'
  })
}
// 清空登录日志
export function clearLoginInfo() {
  return request({
    url: '/system/loginInfo/clearLoginInfo',
    method: 'delete'
  })
}
